package com.example.mydesignmodule.visitor;

/**
 * @author tgw
 * @date 2021/3/8
 * @describe
 */
 abstract class Staff {

    public String name;
    public double kpi;

    public Staff(String name, double kpi) {
        this.name = name;
        this.kpi = kpi;
    }

    public abstract void accept(Visitior visitor);


    @Override
    public String toString() {
        return "Staff{" +
                "name='" + name + '\'' +
                ", kpi=" + kpi +
                '}';
    }
}
